package cn.edu.scau.sec.caixiaoqing.abstractFactory;

import cn.edu.scau.sec.caixiaoqing.abstractFactory.abstractClass.ConsumerElectronics;
import cn.edu.scau.sec.caixiaoqing.abstractFactory.bean.MiPad;
import cn.edu.scau.sec.caixiaoqing.abstractFactory.bean.MiPhone;
import cn.edu.scau.sec.caixiaoqing.abstractFactory.bean.MiWatch;

public class MiFactory extends AbstractFactory{
    @Override
    public ConsumerElectronics getPad() {
        return new MiPad();
    }

    @Override
    public ConsumerElectronics getWatch() {
        return new MiWatch();
    }

    @Override
    public ConsumerElectronics getPhone() {
        return new MiPhone();
    }
}
